package com.sdry.model.llm;
/** 
* 权限树
* @author lian 
* @version 1.0
* @time 2018年10月22日 下午11:55:44
*/
public class TreeBean {

	/**
	 * ID
	 */
	private Long id;
	/**
	 * 权限的资源表ID
	 */
	private Long pId;
	/**
	 * 权限的资源表名称
	 */
	private String name;  
	/**
	 * 权限树的子级菜单是否打开
	 */
	private Boolean open = true;  //默认打开
	/**
	 * 权限树的子级菜单是否选中
	 */
	private Boolean checked = false;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getpId() {
		return pId;
	}
	public void setpId(Long pId) {
		this.pId = pId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Boolean getOpen() {
		return open;
	}
	public void setOpen(Boolean open) {
		this.open = open;
	}
	public Boolean getChecked() {
		return checked;
	}
	public void setChecked(Boolean checked) {
		this.checked = checked;
	}
	@Override
	public String toString() {
		return "TreeBean [id=" + id + ", pId=" + pId + ", name=" + name + ", open=" + open + ", checked=" + checked
				+ "]";
	} 
	
}
